<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>js与jq</title>
    <script src="js/jquery.1.8.3.min.js"></script>
    <script>
        //传统的js
        window.onload = function () {
            console.log("head-window.load文档加载....");
        };

        //jq方式
        $(function () {
            console.log("jquery文档加载。。。。。")
        })
    </script>
</head>
<body>
    <script>
        console.log("body文档加载。。。。")
    </script>
</body>
</html>